package com.ejbBeans;

import java.rmi.RemoteException;

import javax.ejb.EJBException;
import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
import javax.ejb.RemoveException;

public abstract class UserBean implements EntityBean, UserBeanDecorator {

	public abstract Integer getId();
	public abstract void setId(Integer id);
	
	public abstract String getLogin();
	public abstract void setLogin(String name);
	
	public abstract String getPassword();
	public abstract void setPassword(String name);
	
	public abstract boolean getIsBanned();
	public abstract void setIsBanned(boolean isBanned);
	
	public void ejbCreate(Integer pk) throws EJBException, RemoteException {
		
	}
	
	public void ejbActivate(){
		// TODO Auto-generated method stub

	}

	public void ejbLoad() {
		// TODO Auto-generated method stub

	}

	public void ejbPassivate() {
		// TODO Auto-generated method stub

	}

	public void ejbRemove() throws RemoveException {
		// TODO Auto-generated method stub

	}

	public void ejbStore() {
		// TODO Auto-generated method stub

	}

	public void setEntityContext(EntityContext arg0){
		// TODO Auto-generated method stub

	}

	public void unsetEntityContext(){
		// TODO Auto-generated method stub

	}
}
